package com.hopu.blb_erp.mapper;

import com.hopu.blb_erp.entity.Role;

import java.util.List;

public interface RoleMapper {

    List<Role> selectByName(String username);

    List<Role> selectAll();

    Integer selectCount();

    List<Role> selectPage(Integer current, Integer pageSize);

    Role selectById(String id);

    void insert(Role role);

    void deleteById(String id);

    void updateById(Role role);

    Long selectRoleName(String roleName);
}
